package com.xc.pattern.factory.abstractFactory.wecaht;

import com.xc.pattern.factory.abstractFactory.OrderFactory;
import com.xc.pattern.factory.abstractFactory.PayFactory;
import com.xc.pattern.factory.abstractFactory.RefundFactory;


/**
 * @author xingchen
 * @description
 * @create 2022-08-18 22:18
 */
public class WechatOrderFactory implements OrderFactory {

    @Override
    public PayFactory createPay() {
        return new WechatPay();
    }

    @Override
    public RefundFactory createRefund() {
        return new WechatRefund();
    }
}
